Mobile communication device and method for disabling applications

ABSTRACT

A mobile communication device ( 1 ) is connectable to a memory device (MIF) that comprises a plurality of memorysectors ( 0 -F), wherein at least one application is stored in at least one memory sector. the memory sectors are protected against unauthorized access  5  by sector keys (key A, key B,  4 ). The mobile communication device ( 1 ) comprises an applications manager (MAM) being adapted to disable the stored applications (TK 1 , AC 1 , AC 2 , TR 2 , TR 3 , CP 1 , TR 4 , AC 3 , TK 3 ) when triggered by an external trigger event.

FIELD OF THE INVENTION

The invention relates to a mobile communication device being connectable to a memory device comprising a plurality of memory sectors, wherein at least one application is stored in at least one memory sector, wherein the memory sectors are protected against unauthorized access by sector keys.

The invention further relates to a method for disabling applications in a mobile communication device that is connected to a memory device comprising a plurality of memory sectors wherein the sectors are protected against unauthorized access by sector keys, wherein each application is stored in at least one memory sector.

The invention further relates to a computer program product being directly loadable into the memory of a mobile communication device being connectable to a memory device comprising a plurality of memory sectors wherein at least one application is stored in at least one memory sector, wherein the memory sectors are protected against unauthorized access by sector keys.

The invention further relates to a telecommunication system comprising a Mobile Network Operator, a plurality of mobile communication devices and a Trusted Service Manager.

BACKGROUND OF THE INVENTION

The MIFARE® classic family, developed by NXP Semiconductors is the pioneer and front runner in contactless smart card ICs operating in the 13.56 MHz frequency range with read/write capability. MIFARE® is a trademark of NXP Semiconductors. MIFARE complies with IS014443 A, which is used in more than 80% of all contactless smart cards today. The technology is embodied in both cards and card reader devices. MIFARE cards are being used in an increasingly broad range of applications (including transport ticketing, access control, e-payment, road tolling, and loyalty applications). MIFARE Standard (or Classic) cards employ a proprietary high-level protocol with a proprietary security protocol for authentication and ciphering. MIFARE® technology has become a standard for memory devices with key-protected memory sectors. One example for a published product specification of MIFARE® technology is the data sheet “MIFARE®Standard Card IC MF1 IC S50-Functional Specification” (1998) which is herein incorporated by reference. MIFARE® technology is also discussed in: Klaus Finkenzeller, “RFID Handbuch”, HANSER, 3^(rd) edition (2002).

The MIFARE Classic cards are fundamentally just memory storage devices, where the memory is divided into sectors and blocks with simple security mechanisms for access control. Each device has a unique serial number. Anticollision is provided so that several cards in the field may be selected and operated in sequence.

The MIFARE Standard 1 k offers about 768 bytes of data storage, split into 16 sectors with 4 blocks of 16 bytes each (one block consists of 16 byte); each sector is protected by two different keys, called A and B. They can be programmed for operations like reading, writing, increasing value blocks, etc. The last block of each sector is called “trailer”, which contains two secret keys (A and B) and programmable access conditions for each block in this sector. In order to support multi-application with key hierarchy an individual set of two keys (A and B) per sector (per application) is provided.

The memory organization of a MIFARE Standard 1 k card is shown in FIG. 1. The 1024×8 bit EEPROM memory is organized in 16 sectors with 4 blocks of 16 bytes each. The first data block (block 0) of the first sector (sector 0) is the manufacturer block which is shown in detail in FIG. 2. It contains the serial number of the MIFARE card that has a length of four bytes (bytes 0 to 3), a check byte (byte 4) and eleven bytes of IC manufacturer data (bytes 5 to 15). The serial number is sometimes called MIFARE User IDentification (MUID) and is a unique number. Due to security and system requirements the manufacturer block is write protected after having been programmed by the IC manufacturer at production. However, the MIFARE specification allows to change the serial number during operation of the MIFARE card, which is particularly useful for MIFARE emulation cards like SmartMX cards.

SmartMX (Memory eXtension) is a family of smart cards that have been designed by NXP Semiconductors for high-security smart card applications requiring highly reliable solutions, with or without multiple interface options. Key applications are e-government, banking/finance, mobile communications and advanced public transportation.

The ability to run the MIFARE protocol concurrently with other contactless transmission protocols implemented by the User Operating System enables the combination of new services and existing applications based on MIFARE (e.g. ticketing) on a single Dual Interface controller based smart card. SmartMX cards are able to emulate MIFARE Classic devices and thereby makes this interface compatible with any installed MIFARE Classic infrastructure. The contactless interface can be used to communicate via any protocol, particularly the MIFARE protocol and self defined contactless transmission protocols. SmartMX enables the easy implementation of state-of-the-art operating systems and open platform solutions including JCOP (the Java Card Operating System) and offers an optimized feature set together with the highest levels of security. SmartMX incorporates a range of security features to counter measure side channel attacks like DPA, SPA etc. A true anticollision method (acc. ISO/IEC 14443-3), enables multiple cards to be handled simultaneously.

Building on the huge installed base of the MIFARE® interface platform, SmartMX enables e.g. Service Providers to introduce even more convenient ticketing systems and payment concepts. The high security (PKI and 3-DES) and the extended functionality of SmartMX allows for the integration of loyalty concepts, access to vending machines, or using an e-purse to pay fares instead of pre-paid electronic ticketing. The essential features of SmartMX cards are the following:

-   -   Contact interface UART according to ISO 7816.     -   Contactless interface UART according to ISO 14443.     -   Exception sensors for voltage, frequency and temperature.     -   Memory management unit.     -   MIFARE® classic emulation.     -   JavaCard Operating System.     -   DES and/or RSA engine.     -   Up to 72 kilobyte EEPROM memory space.

It should be noted that the emulation of MIFARE Classic cards is not only restricted to SmartMX cards, but there may also exist other present or future smartcards being able to emulate MIFARE Classic cards.

Recently, mobile communication devices have been developed which contain or are connectable to memory devices comprising a plurality of memory sectors, wherein the memory sectors are protected against unauthorized access by sector keys. Examples of such memory devices comprise MIFARE Classic cards or emulated MIFARE Classic devices like SmartMX cards. These mobile communication devices are e.g. configured as mobile phones with Near Field Communication (NFC) capabilities. Mobile communication devices that are equipped with the above explained memory devices can be used for multi-application purposes. I.e. it is possible to install a plurality of applications, like tickets, coupons, access controls and so on in one memory device. Each application is stored in one or more separate sector(s) of the memory device such that terminal readers are only able to read those applications that are stored in sectors with the sector keys being known by the terminal readers.

While this protection concept works well as long as the owner of the mobile communication device is in possession of the same there is a potential security risk if the mobile communication device is stolen. Let us assume that the mobile communication device that has been stolen is a mobile phone. In this case the user when becoming aware of the theft will immediately inform the Mobile Network Operator that his mobile phone has been lost or stolen, whereupon the Mobile Network Operator can remotely block its basic network services for this mobile phone. However, the applications stored in the memory device are still available for use at the terminal readers since these terminal readers do not identify the actual user of the mobile phone. This represents an important security issue that needs to be addressed before NFC value-added services are deployed by Mobile Network Operators.

OBJECT AND SUMMARY OF THE INVENTION

It is an object of the invention to provide a mobile communication device of the type defined in the opening paragraph and a method of the type defined in the second paragraph, in which the problems mentioned above are overcome.

In order to achieve the object defined above, with a mobile communication device according to the invention characteristic features are provided so that such a mobile communication device can be characterized in the way defined below, that is:

A mobile communication device (1) being connectable to a memory device (MIF) comprising a plurality of memory sectors (0-F), wherein at least one application is stored in at least one memory sector, wherein the memory sectors are protected against unauthorized access by sector keys (key A, key B, 4), wherein the mobile communication device (1) comprises an applications manager (MAM) being adapted to disable the stored applications (TK1, AC1, AC2, TR2, TR3, CP1, TR4, AC3, TK3) when triggered by an external trigger event.

A mobile communication device comprising a classic or emulated MIFARE memory, a swap memory and a MIFARE applications manager being adapted to swap MIFARE applications between the MIFARE memory and the swap memory.

In order to achieve the object defined above, with a method according to the invention characteristic features are provided so that a method according to the invention can be characterized in the way defined below, that is:

A method for disabling applications in a mobile communication device (1) that is connected to a memory device (MIF) comprising a plurality of memory sectors (0-F) wherein the sectors are protected against unauthorized access by sector keys (key A, key B, 4), wherein each application is stored in at least one memory sector (0-F), wherein the method comprises disabling the stored applications (TK1, AC1, AC2, TR2, TR3, CP1, TR4, AC3, TK3) when triggered by an external trigger event.

In order to achieve the object defined above, a computer program product being directly loadable into the memory of a mobile communication device being connectable to a memory device comprising a plurality of memory sectors wherein at least one application is stored in at least one memory sector, wherein the memory sectors are protected against unauthorized access by sector keys, comprises software code portions for performing—when running on the mobile communication device—the steps of the method according to the above paragraph.

In order to achieve the object defined above, a telecommunication system comprises a Mobile Network Operator, a plurality of mobile communication devices as defined above and a Trusted Service Manager, wherein the Trusted Service Manager is adapted to establish communication with a mobile communication device by request of the Mobile Network Operator and to instruct the mobile communication device to disable applications being stored in a memory device that is connected to the mobile communication device.

The present invention provides a mechanism to remotely disable all applications stored in said memory with protected memory sectors and thereby closes a potential security hole in using such value-added applications. The present invention is particularly useful in conjunction with memory devices being implemented as MIFARE Classic cards or emulated MIFARE Classic devices and the applications being implemented as MIFARE applications such as tickets, coupons, access controls, etc.

The invention allows to trigger application disabling from external sources, e.g. the Mobile Network Operators. However, in order to provide improved security levels it is preferred that a Trusted Service Manager establishes a communication link to the mobile communication device and instructs it to disable the stored applications.

According to the present invention there are three alternative approaches how to disable the stored applications. In a first embodiment disabling the stored applications comprises erasing the applications from the memory device. Erasing can be done by rewriting the respective sectors of the memory device with empty information or random data. While this solution provides high security and all application will be disabled without any possibility for restoring them, the speed of this erasing procedure can be a potential problem, if the new user (in case of a stolen mobile phone the thief) quickly interrupts the disabling routine by removing the battery from the mobile phone, for example, thereby keeping some of the stored applications “alive”. Hence, the conclusion is that the disabling routine should work as fast as possible.

Another embodiment of the present invention provides a faster disabling routine compared with the first one. This second disabling approach comprises disabling the stored applications by scrambling the applications in the memory device, preferably by writing random information at random locations of the respective sectors of the memory device. This disabling method is very fast but is not 100% secure. Some important data could remain in the memory device since the applications are only left in an unusable state, but are not completely removed from the memory device.

A third embodiment of the invention combines both high processing speed and security by disabling the stored applications by means of changing the sector keys of the memory device. This disabling method is fast, since just the sector keys have to be re-written (if MIFARE memory devices are used the sector trailer), and 100% secure because all the sectors of the memory device will be un-accessible by Terminal Readers.

The present invention is perfectly suited for mobile phones with NFC capabilities that can be equipped with memory devices having multiple memory sectors protected by sector keys, such as (emulated) MIFARE devices, like SmartMX cards.

The aspects defined above and further aspects of the invention are apparent from the exemplary embodiments to be described hereinafter and are explained with reference to these exemplary embodiments.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will be described in more detail hereinafter with reference to exemplary embodiments. However, the invention is not limited to them. The exemplary embodiments comprise memory devices being configured as MIFARE devices.

FIG. 1 shows the memory organization of a MIFARE Standard 1 k EEPROM.

FIG. 2 shows the manufacturer block of a MIFARE memory.

FIG. 3 shows the sector trailer of a sector of MIFARE memory.

FIG. 4 shows a telecommunication system in which the present invention is implemented.

FIG. 5 shows a scheme of a first embodiment of the present invention.

FIG. 6 shows a scheme of a second embodiment of the present invention.

FIG. 7 shows a scheme of a third embodiment of the present invention.

DESCRIPTION OF EMBODIMENTS

Referring to FIG. 4 a telecommunication system according to the present invention is explained. This system comprises a Mobile Network Operator MNO providing the full range mobile services to customers, particularly providing UICC and NFC terminals plus Over The Air (OTA) transport services. In FIG. 4 one user 5 is shown who is the owner of a mobile communication device 1 being configured as a NFC mobile phone. The customer uses the mobile communication device 1 for mobile communications and Mobile NFC services. In order to use the Mobile NFC services reader terminals 2 are necessary being adapted to wirelessly communicating with the mobile communication device 1. reader terminals 2 are operated under the influence of Service Providers. The customer subscribes to a MNO and uses Mobile NFC services. Mobile NFC is defined as the combination of contactless services with mobile telephony, based on NFC technology. The mobile phone with a hardware-based secure identity token (the UICC) can provide the ideal environment for NFC applications. The UICC can replace the physical card thus optimising costs for so called Service Provider, and offering users a more convenient service. The Mobile Network Operator MNO communicates with a Trusted Service Manager TSM who securely distributes and manages services to the MNO customer base. Also shown in FIG. 4 is a Service Provider (SP) who provides contactless services to the user 5 (SPs are e.g. banks, public transport companies, loyalty programs owners etc.). The Trusted Service Manager TSM will also securely distribute and manage the Service Providers' services to the MNO customer base. For the explanation of the present invention it is convenient to assume that the Mobile Network Operator MNO also acts as a Service Provider. The role of the Trusted Service Manager TSM is to provide the single point of contact for the Service Providers SP (herein also the Mobile Network Operator MNO) to access their customer base through the MNOs. The Trusted Service Manager TSM further manages the secure download and life-cycle management of Mobile NFC applications on behalf of the Service Providers. The Trusted Service Manager TSM does not participate in the transaction stage of the service, thus ensuring that the Service Providers' existing business models are not disrupted. Depending on the national market needs and situations, the Trusted Service Manager TSM can be managed by one or a consortium of Mobile Network Operators MNO, or by independent Trusted Third Parties.

According to the present invention the mobile communication device 1 is equipped with a memory device MIF that comprises a plurality of memory sectors (0-F), each memory sector being protected against unauthorized access by sector keys (see Key A and Key B in FIG. 3, or numeral 4 in FIG. 7). In the present embodiment of the invention the memory device MIF is a MIFARE Classic card (as shown in FIGS. 1 to 3) or an emulated MIFARE Classic device such as a SmartMX card. The Service Provider SP and the Mobile Network Operator MNO, respectively, provide NFC services requiring to download applications, here MIFARE applications, into the memory device MIF of the mobile communication device 1. As has been explained above download of applications is exclusively handled by the Trusted Service Manager TSM who receives the applications from the Service Provider SP and the Mobile Network Operator MNO and forwards them to the mobile communication device 1. It is the Trusted Service Manager who decides in which sectors of the memory device MIF the applications have to be written. The mobile communication device 1 comprises a software-implemented Trusted Service Manager Applet (not shown in the drawing) being responsible to carry out all instructions of the Trusted Service Manager. Particularly the Trusted Service Manager Applet writes the applications into the prescribed sectors of the memory device MIF. The applications comprise e.g. tickets, access controls and transit applications, but are not limited to said types of applications. Having a closer look at the memory device MIF it currently comprises the following applications:

Ticket 1 (TK1) in sector 0 Access Control 1 (AC1) in sector 1 Access Control 2 (AC2) in sector 2 Transit 2 (TR2) in sector 3 Transit 3 (TR3) in sector 4 Coupon 1 (CP1) in sector 5 Transit 4 (TR4) in sector 6 Access Control 3 (AC31) in sector 7 Ticket 3 (TK3) in sectors 8, 9 and A sectors B, C, D, E, F remain empty.

For the explanation of the present invention it is assumed that the user 5 has realized that his mobile communication device 1 has been stolen. He reports the theft of his mobile communication device 1 to the Mobile Network Operator MNO (see arrow MSG). The Mobile Network Operator MNO block all basic network services for this mobile communication device 1. Further, the Mobile Network Operator MNO sends a request (arrow REQ) to the Trusted Service Manager TSM to discard all applications stored in the memory device MIF of the mobile communication device 1. Upon receipt of this request REQ the Trusted Service Manager establishes a connection with the mobile communication device 1 and especially with an application manager MAM residing as a software implementation within the mobile communication device 1. Preferably, the application manager MAM is located in a secure memory element (for instance the SIM card). The Trusted Service Manager TSM instructs (see arrow INS) the application manager MAM to disable all applications (TK1, AC1, AC2, TR2, TR3, CP1, TR4, AC3, TK3) that are stored in the memory device MIF being connected to the mobile communication device 1.

The application manager MAM can handle this disabling instruction INS in a plurality of alternative ways being discussed below.

A first application disabling procedure carried out by the application manager MAM is schematically shown in FIG. 5. This disabling method consists in physically erasing (symbolized by arrow ERS) all applications from the memory device MIF. This task can be accomplished by writing empty information into all the sectors of the memory device MIF. Application disabling by this erasing method is secure, since all the applications will be removed from the memory device MIF, but performance issues might arise. The new user of the mobile communication device 1 (i.e. in case of a stolen mobile the thief) could interrupt the erasing procedure by removing the battery of the device for example. Hence it is important to carry out disabling as fast as possible, in order to exclude interruption of the disabling procedure.

FIG. 6 shows another way how the application manager MAM accomplishes disabling of the applications stored in the memory device MIF. This second disabling approach comprises disabling the stored applications by scrambling (symbolized by arrows SCR) the applications in the memory device MIF, preferably by writing random information 3 at random locations of the respective sectors of the memory device. In FIG. 6 the random information 3 is symbolized by spots being located within the applications. This disabling method is very fast but has the drawback that it is not completely safe. Some important data within the applications could remain in the memory device MIF since the applications are not completely removed from the memory device, although they are left in an unusable state after the disabling routine.

FIG. 7 shows a third disabling approach that combines both high processing speed and security. In this embodiment of the invention the application manager MAM disables the applications stored in the memory device MIF by means of changing (symbolized by arrow CHG) the sector keys 4 of the memory device MIF. This disabling method is fast, since just the sector keys have to be re-written (if MIFARE memory devices are used: the sector trailer), and 100% secure because all the sectors of the memory device will be un-accessible by terminal readers 2 (see FIG. 4) which only know the previous sector keys 4.

It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word “comprising” does not exclude the presence of elements or steps other than those listed in a claim. The indefinite article “a” or “an” preceding an element does not exclude the presence of a plurality of such elements. In the device claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. 

1. A mobile communication device connectable to a memory device comprising a plurality of memory sectors, wherein at least one application is stored in at least one memory sector, wherein the memory sectors are protected against unauthorized access by sector keys, wherein the mobile communication device comprises an applications manager being adapted to disable: the stored applications when triggered by an external trigger event.
 2. The mobile communication device as claimed in claim 1, wherein the memory device is a MIFARE Classic card or an emulated MIFARE Classic device and the applications are MIFARE applications such as tickets, coupons, access controls, etc.
 3. The mobile communication device as claimed in claim 1, wherein the external trigger event is a disabling instruction sent from an external source to the mobile communication device.
 4. The mobile communication device as claimed in claim 1, wherein disabling the stored applications comprises erasing the applications from the memory device.
 5. The mobile communication device as claimed in claim 4, wherein erasing the applications from the memory device comprises rewriting the respective sectors of the memory device with empty information or random data.
 6. The mobile communication device as claimed claim 1, wherein disabling the stored applications comprises scrambling the applications in the memory device, preferably by writing random information at random locations of the respective sectors of the memory device.
 7. The mobile communication device as claimed in claim 1, wherein disabling the stored applications comprises changing the sector keys of the memory device.
 8. The mobile communication device as claimed in claim 1, wherein the mobile communication device is a mobile phone.
 9. A method for disabling applications in a mobile communication device that is connected to a memory device comprising a plurality of memory sectors wherein the sectors are protected against unauthorized access by sector keys, wherein each application is stored in at least one memory sector, wherein the method comprises disabling the stored applications when triggered by an external trigger event.
 10. The method as claimed in claim 9, wherein the memory device is a MIFARE Classic card or an emulated MIFARE Classic device and the applications are MIFARE applications selected from the group consisting of tickets, coupons, access controls.
 11. The method as claimed in claim 9, wherein the external trigger event is a disabling instruction sent from an external server to the mobile communication device.
 12. The method as claimed in any of claim 9, wherein disabling the stored applications comprises erasing the applications from the memory device.
 13. The method as claimed in claim 12, wherein erasing the applications from the memory device comprises rewriting the respective sectors of the memory device with empty information or random data.
 14. The method as claimed in claim 9, wherein disabling the stored applications comprises scrambling the applications in the memory device by writing random information at random locations of the respective sectors of the memory device.
 15. The Method as claimed in claim 9, wherein disabling the stored applications comprises changing the sector keys of the memory device.
 16. A computer program product being directly loadable into the memory of a mobile communication device being connectable to a memory device comprising a plurality of memory sectors wherein at least one application is stored in at least one memory sector, wherein the memory sectors are protected against unauthorized access by sector keys, wherein the computer program product comprises software code portions for performing—when running on the mobile communication device—the steps of the method as claimed in claim
 9. 17. A computer program product as claimed in claim 16, wherein the computer program product is stored on a computer readable medium or is downloadable from a remote server via a communication network.
 18. A telecommunication system comprising a Mobile Network Operator (MNO), a plurality of mobile communication devices according to claim 1 and a Trusted Service Manager, wherein the Trusted Service Manager is adapted to establish communication with a mobile communication device by request of the Mobile Network Operator and to instruct the mobile communication device to disable applications being stored in a memory device that is connected to the mobile communication device. 